home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_povray.idb / usr / freeware / lib / povray31 / scenes / macros / local.inc.z / local.inc
Encoding:
Text File  |  1999-04-16  |  493 b   |  15 lines

  1. // Persistence of Vision Ray Tracer POV-Ray 3.1 Sample Scene
  2. // by Chris Young
  3. // LOCAL.INC demonstrates basic use of a temporary local identifier
  4. // using the #local directive.
  5. #debug "Doing #include \"local.inc\"\n"
  6.  
  7. // The global version of "Thing" is a red sphere.
  8. #local Thing = box{-1,1 pigment{Blue}}
  9.  
  10. // Center object in scene is the local blue box.
  11. object{Thing}
  12.  
  13. // This object will disapear when we exit "local.inc"
  14. #local Local_Item = cylinder{-1,1,1 pigment{Green}}
  15.